namespace CodeConsult.Nordic.nRF8001.ApplicationControlInterface.Events.DataEvents
{
    public class DataCreditEvent : AciEventBase
    {
        public const byte OpCode = 0x8A;
 
        public byte DataCredits { get; set; }

        protected override void DecodeFromBuffer()
        {
            DataCredits = DecodeHelper.GetByte();
        }
    }
}
